package com.mingxingyi.applet.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user_info")
public class UserInfo {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String username;

    private Integer userStatus;

    private String userStatusStr;

    private String sign;


    private String openId;

    private String phoneNumber;

    private Integer notificationSwitch;

    private String profileImagePath;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;


    private String statusUpdateTimes;
}